package com.zjitc.backend_shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 王新瑜
 * @date 2024/12/19 13:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "vueshop_category")
public class Category {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String name;
    private String picture;
    private Integer pid;
}
